package com.lucker.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.lucker.service.push.socket.SocketService;
import com.lucker.service.push.socket.SocketServiceImpl;

public class SystemStartListener implements ServletContextListener {
	
	Logger logger = LoggerFactory.getLogger(SystemStartListener.class);
	
	@Override
	public void contextInitialized(ServletContextEvent sce) {
		logger.info("系统开始启动........");
		SocketService socketService = new SocketServiceImpl();
//		socketService.initSocketListener();
//		logger.info("长链接端口监听开始.........");
	}

	@Override
	public void contextDestroyed(ServletContextEvent sce) {
		// TODO Auto-generated method stub
		
	}
	

}
